package com.sl.biz.modular.group.dao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sl.common.pojo.CommonOrgEntity;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("sl_group")
@Entity(name = "sl_group")
public class GroupDO extends CommonOrgEntity {


    /**
     * 产品ID
     */
    private String productId;

    private String groupCode;

    private String groupName;

    private String description;

    private String relationId;

    private String relationTypeCode;

    /**
     * 树父级节点id
     */
    private String treeParentId;

    /**
     * 树节点等级
     */
    private Integer treeLevel;

    /**
     * 树叶子节点标记[1:是,0:否]
     */
    private Integer treeLeafFlag;

    /**
     * 树路径,id列表逗号分隔
     */
    private String treePath;
}
